// router/index.ts
import {createRouter, createWebHistory, RouteRecordRaw} from 'vue-router'
import System from '../views/System.vue'
import Download from '../views/Download.vue'
import Setting from '../views/Setting.vue'

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'System',
        component: System
    },
    {
        path: '/download',
        name: 'Download',
        component: Download
    },
    {
        path: '/setting',
        name: 'Setting',
        component: Setting
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router
